#include <iostream>

using namespace std;

class A{
public:
    A(){
        cout << "A()" <<endl;
    }
    A(A*a){
        cout << "A(A*a)" <<endl;
    }
    A(A&a){
        cout << "A(A&a)" <<endl;
    }
    A(int a){
        cout << "A(int a)" << endl;
    }
    void operator = (int a){
        cout << "operator= (int a)" <<endl;
    }
};

int main()
{
    cout << "Hello World!" << endl;
    A a;
    A b;
    A c(&a);
    A d(b);

    A f = a;
    A g = 12;
    g = 100;


    cout << "Over!" <<endl;

    return 0;
}
